package function;
//球星   所属球队，球衣号码，职业生涯年份  训练，打比赛，拍广告
public class BallStar {
	public String teamName;
	public int number;
	public int workYear;
	public String name;
	
	public void train () {
		System.out.println(name + "球星效力于" + teamName + "队，球衣号码是" + number + "，在训练");
	}
}
